﻿<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>乌镇旅游</title>
		<link href="style/css.css" rel="stylesheet" type="text/css" />
		<style type="text/css">

		</style>
		<script type="text/javascript">
			function MM_popupMsg(msg) { //v1.0
				alert(msg);
			}
		</script>
	</head>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript">
		$(function() {
			var sWidth = $("#focus").width();
			var len = $("#focus ul li").length;
			var index = 0;
			var picTimer;

			var btn = "<div class='btnBg'></div><div class='btn'>";
			for(var i = 0; i < len; i++) {
				btn += "<span></span>";
			}
			btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
			$("#focus").append(btn);
			$("#focus .btnBg").css("opacity", 0.5);

			$("#focus .btn span").css("opacity", 0.4).mouseenter(function() {
				index = $("#focus .btn span").index(this);
				showPics(index);
			}).eq(0).trigger("mouseenter");

			$("#focus .preNext").css("opacity", 0.2).hover(function() {
				$(this).stop(true, false).animate({
					"opacity": "0.5"
				}, 300);
			}, function() {
				$(this).stop(true, false).animate({
					"opacity": "0.2"
				}, 300);
			});

			$("#focus .pre").click(function() {
				index -= 1;
				if(index == -1) {
					index = len - 1;
				}
				showPics(index);
			});

			$("#focus .next").click(function() {
				index += 1;
				if(index == len) {
					index = 0;
				}
				showPics(index);
			});

			$("#focus ul").css("width", sWidth * (len));

			$("#focus").hover(function() {
				clearInterval(picTimer);
			}, function() {
				picTimer = setInterval(function() {
					showPics(index);
					index++;
					if(index == len) {
						index = 0;
					}
				}, 4000);
			}).trigger("mouseleave");

			function showPics(index) {
				var nowLeft = -index * sWidth;
				$("#focus ul").stop(true, false).animate({
					"left": nowLeft
				}, 300);

				$("#focus .btn span").stop(true, false).animate({
					"opacity": "0.4"
				}, 300).eq(index).stop(true, false).animate({
					"opacity": "1"
				}, 300);
			}
		});
	</script>

	<body onload="MM_popupMsg('欢迎来到乌镇！')">
		<table width="1010" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<table width="1010" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><img src="images/head.jpg" width="1010" height="200" /></td>
						</tr>
						<tr>
							<td bgcolor="#5A181A">
								<table width="100%" border="0" cellspacing="0" cellpadding="0" class="nav">
									<tr>
										<td height="30" align="center">
											<a href="index.html">首页</a>
										</td>
										<td align="center">
											<a href="zz.html">乌镇简介</a>
										</td>
										<td align="center">
											<a href="lvyou.html">乌镇旅游</a>
										</td>
										<td align="center">
											<a href="wh.html">乌镇文化</a>
										</td>
										<td align="center">
											<a href="meishi.html">乌镇美食</a>
										</td>
										<td align="center">
											<a href="pic.html">美图欣赏</a>
										</td>
										<td align="center">
											<a href="rongyu.html">乌镇荣誉</a>
										</td>
										<td align="center">
											<a href="ts.html">留言板</a>
											<a href="fyd.html"></a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td bgcolor="#FFFFFF">
					<table width="100%" border="0" cellspacing="5" cellpadding="0">
						<tr>
							<td>
								<div class="wrapper1">
									<div id="focus">
										<ul>
											<li>
												<a href="wh.html"><img src="images/01.jpg" width="1000" height="280" /></a>
											</li>
											<li>
												<a href="wh.html"><img src="images/02.jpg" width="1000" height="280" /></a>
											</li>
											<li>
												<a href="wh.html"><img src="images/03.jpg" width="1000" height="280" /></a>
											</li>
										</ul>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td>我的家乡乌镇是一个水乡古镇,比起一些大城市来说,乌镇显得是那么微不足道.可水乡古镇每天都吸引了无数的游客前来观光游览. 
								乌镇的河是乌镇的筋脉,大河,小河纵横贯穿整个乌镇,你在任何地方都可以看见河流.微波荡漾,河中鱼儿游来游去,仿佛是在倾听游人的脚步声;
								一会儿,鱼儿又钻下水底,似乎在和嬉戏玩耍. 河面上,轮船发出呜呜的响声行驶着,好象在说:你瞧!我在水上行驶得多快!在东市河,你就看不到大轮船的踪迹.
								一艘艘乌蓬船在河上缓慢地行驶,一位衣着朴素的船夫,站在船尾,眼睛望着前方, 
								双手握住船桨,悠悠地摇着.船桨在手中摇动,水面扩散出一道道微波.这乌蓬船比起那大河上的轮船,让人感到一种悠闲自在的感觉.
							</td>
						</tr>
						<tr>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td align="center">
											<a href="pic.html"><img src="images/2.jpg" width="180" height="180" /></a>
										</td>
										<td align="center">
											<a href="pic.html"><img src="images/1.jpg" width="180" height="180" /></a>
										</td>
										<td align="center">
											<a href="pic.html"><img src="images/3.jpg" width="180" height="180" /></a>
										</td>
										<td align="center">
											<a href="pic.html"><img src="images/4.jpg" width="180" height="180" /></a>
										</td>
										<td align="center">
											<a href="pic.html"><img src="images/5.jpg" width="180" height="180" /></a>
										</td>
									</tr>

								</table>
							</td>
						</tr>
					</table> <br /></td>
			</tr>
			<tr>
				<td align="center" bgcolor="white" class="footer">Copyright &copy;2019 - 2021 南工院 移动1823 蔡崴版权所有</td>
			</tr>
		</table>
	</body>

</html>